package patten.xingwei.strategy;

/**
 * Description 食品搜索策略
 * Author：zwenzhi
 * Date：2023/11/16 15:35
 */
public class FoodSearchStrategy extends SearchStrategy{

    public FoodSearchStrategy() {
        this.type = "Food";
    }
    @Override
    public void search(String message) {
        System.out.println("食品搜索:"+message);
    }
    public String getType() {
        return this.type;
    }
}
